mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 11 Jun 2022 07:09:03 +0000 (08:09 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 11 Jun 2022 07:09:03 +0000 (08:09 +0100)
commit6a3d68d6d4587f95350d19854b9a8d7c25c1bc7c
tree4a867c249528d2e26543ec9a278ca3b9b1501ae0
parent6b140875ecf6b9be51be13b90b0614894d6bb85d
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h
llvm/lib/Target/Mips/MipsSubtarget.cpp